<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <!-- 加载css -->
 
  <link rel="stylesheet" href="/assets/lib/layui/css/layui.css">
  <link rel="stylesheet" href="/assets/css/login.css">

</head>

<body>
  <!-- logo图片 -->
  <img src="/assets/images/logo.png" alt="" id="logo">
  <!-- 登录的div盒子 -->
  <div class="box login">
    <div class="box_title"></div>
    <!-- 登录的表单开始 -->
    <form class="layui-form" action="">
      <!-- 标题输入框 -->
      <div class="layui-form-item">
        <i class="layui-icon layui-icon-username"></i>
        <input type="text" name="username" required lay-verify="required" placeholder="请输入用户名" autocomplete="off"
          class="layui-input">
      </div>
      <!-- 密码框 -->
      <div class="layui-form-item">
        <i class="layui-icon layui-icon-password"></i>
        <input type="password" name="password" required lay-verify="required" placeholder="请输入密码" autocomplete="off"
          class="layui-input">
      </div>
      <!-- 登录按钮 -->
      <div class="layui-form-item">
        <button class="layui-btn layui-btn-fluid layui-bg-blue" lay-submit lay-filter="formDemo">立即提交</button>
      </div>
      <!-- 标签连接 -->
      <div class="layui-form-item">
        <a href="javascript:;" class="showReg">去注册账号</a>
      </div>
    </form>
    <!-- 登录的表单结束 -->
  </div>
  <!-- 登录的盒子结束 -->


  <!-- 注册的div盒子 -->
  <div class="box register">
    <div class="box_title"></div>
    <!-- 登录的表单开始 -->
    <form class="layui-form" action="">
      <!-- 标题输入框 -->
      <div class="layui-form-item">
        <i class="layui-icon layui-icon-username"></i>
        <input type="text" name="username" required lay-verify="required" placeholder="请输入用户名" autocomplete="off"
          class="layui-input">
      </div>
      <!-- 密码框 -->
      <div class="layui-form-item">
        <i class="layui-icon layui-icon-password"></i>
        <input type="password" name="password" required lay-verify="required|len" placeholder="请输入密码" autocomplete="off"
          class="layui-input reg_pwd">
      </div>
      <!-- 确认密码框 -->
      <div class="layui-form-item">
        <i class="layui-icon layui-icon-password"></i>
        <input type="password"  required lay-verify="required|len|same" placeholder="再次确认密码" autocomplete="off"
          class="layui-input ">
      </div>
      <!-- 登录按钮 -->
      <div class="layui-form-item">
        <button class="layui-btn layui-btn-fluid layui-bg-blue" lay-submit lay-filter="formDemo">注册</button>
      </div>
      <!-- 标签连接 -->
      <div class="layui-form-item">
        <a href="javascript:;" class="showReg">去登录</a>
      </div>
    </form>

    <!-- 登录的表单结束 -->
  </div>
  <!-- 注册的盒子结束 -->

  <!-- 加载js文件 -->
  <script src="/assets/lib/jquery.js"></script>
  <script src="/assets/lib/layui/layui.all.js"></script>
  <!-- 自己写的样式一定要放到最后一个加载,否则自己的样式会先加载,然后被引用的样式覆盖 -->
<script src="/assets/js/common.js"></script>
  <script src="/assets/js/login.js"></script>  

</body>

</html>